package com.tem.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cms_menu")
@ApiModel(value="CmsMenu对象", description="")
public class CmsMenu implements Serializable {
    private static final long serialVersionUID=465617893230L;

    @ApiModelProperty(value = "内容菜单")
    @TableId(value = "cms_menu_id", type = IdType.AUTO)
    private Long cmsMenuId;

    @ApiModelProperty(value = "公司")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "分类")
    @TableField("cms_type_id")
    private Long cmsTypeId;

    @ApiModelProperty(value = "1可点击跳转 2栏目点击展开,不跳转")
    @TableField("is_href")
    private Integer isHref;

    @ApiModelProperty(value = "类型 1顶部  2右侧 3底部 4左侧")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "样式 1全部展开 2弹出展开  3不展开")
    @TableField("style")
    private Integer style;

    @ApiModelProperty(value = "自定义链接")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "自定义页面模板")
    @TableField("model")
    private String model;

    @ApiModelProperty(value = "菜单名称")
    @TableField("menu_name")
    private String menuName;


}
